package com.yun.entity;

public class Share {
	private int shareId;
	private String shareTime;
	private String shareLink;
	private String userLessTime;
	private String shareCommand;
	private int uesrId;
//<<<<<<< Updated upstream
	private int fileId;
	private User user;
	private Files files;
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Files getFiles() {
		return files;
	}
	public void setFiles(Files files) {
		this.files = files;
	}
	public int getFileId() {
		return fileId;
	}
	public void setFileId(int fileId) {
		this.fileId = fileId;
//=======
//	public Share() {
//		// TODO Auto-generated constructor stub
//>>>>>>> Stashed changes
	}
	public int getShareId() {
		return shareId;
	}
	public void setShareId(int shareId) {
		this.shareId = shareId;
	}
	public String getShareTime() {
		return shareTime;
	}
	public void setShareTime(String shareTime) {
		this.shareTime = shareTime;
	}
	public String getShareLink() {
		return shareLink;
	}
	public void setShareLink(String shareLink) {
		this.shareLink = shareLink;
	}
	public String getUserLessTime() {
		return userLessTime;
	}
	public void setUserLessTime(String userLessTime) {
		this.userLessTime = userLessTime;
	}
	public String getShareCommand() {
		return shareCommand;
	}
	public void setShareCommand(String shareCommand) {
		this.shareCommand = shareCommand;
	}
	public int getUesrId() {
		return uesrId;
	}
	public void setUesrId(int uesrId) {
		this.uesrId = uesrId;
	}
	public Share(int shareId, String shareTime, String shareLink, String userLessTime, String shareCommand,
			int uesrId) {
		super();
		this.shareId = shareId;
		this.shareTime = shareTime;
		this.shareLink = shareLink;
		this.userLessTime = userLessTime;
		this.shareCommand = shareCommand;
		this.uesrId = uesrId;
	}
	public Share() {
		super();
	}
	@Override
	public String toString() {
		return "Share [shareId=" + shareId + ", shareTime=" + shareTime + ", shareLink=" + shareLink + ", userLessTime="
				+ userLessTime + ", shareCommand=" + shareCommand + ", uesrId=" + uesrId + ", fileId=" + fileId
				+ ", user=" + user + ", files=" + files + "]";
	}
	
	
}
